﻿using System.Collections.Generic;
using System.ServiceModel;
using WCFHostingModel;

namespace WCFHostingServiceLibrary
{
    [ServiceContract]
    internal interface IArticleService
    {
        [OperationContract(Name = "GetUserArticles")]
        IEnumerable<ArticleModel> GetArticleModels(string uid, int page, int size);

        [OperationContract(Name = "GetArticleByAid")]
        ArticleModel GetArticleModel(string aid);
    }
}